![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@tybys/cross-zip
Advanced tools
Fork from https://github.com/feross/cross-zip
Cross-platform .zip file creation
npm install @tybys/cross-zip
const path = require('path')
const crossZip = require('@tybys/cross-zip')
const input = path.join(__dirname, 'myFolder') // folder to zip
const output = path.join(__dirname, 'myFile.zip') // name of output zip file
crossZip.zipSync(input, output)
import * as path from 'path'
import * as crossZip from '@tybys/cross-zip'
const input = path.join(__dirname, 'myFolder') // folder to zip
const output = path.join(__dirname, 'myFile.zip') // name of output zip file
crossZip.zipSync(input, output)
crossZip.zip(input, output [, includeBaseDirectory])
Zip the folder or file at input
and save it to a .zip file at output
.
includeBaseDirectory
: true
to include the directory name from input
at the root of the archive; false
to include only the contents of the directory.
Return Promise<number>
(size of archive).
crossZip.zipSync(input, output [, includeBaseDirectory])
Sync version of crossZip.zip
.
crossZip.unzip(input, output)
Unzip the .zip file at input
into the folder at output
. Return Promise<void>
.
crossZip.unzipSync(input, output)
Sync version of crossZip.unzip
.
This package requires .NET Framework 4.5 or later and Powershell 3. These come pre-installed on Windows 8 or later.
On Windows 7 or earlier, you will need to install these manually in order for
cross-zip
to function correctly.
MIT.
FAQs
Cross-platform .zip file creation
The npm package @tybys/cross-zip receives a total of 453 weekly downloads. As such, @tybys/cross-zip popularity was classified as not popular.
We found that @tybys/cross-zip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.